//
//  DQBColorsCon.h
//  DrivingQuestionBank
//
//  Created by mac on 2023/12/28.
//

#ifndef DQBColorsCon_h
#define DQBColorsCon_h


#define DQBColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(1.0)]

#define DQBColorA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]

#define DQBRGBHex(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define DQBRGBHexAlpha(rgbValue,a) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:(a)]

#define DQBThemeColor DQBRGBHex(0xFEC80E)

#define BackgroundColor DQBColor(245, 245, 245, 1.0)

#define DQBTextColor DQBRGBHex(0X333333)

#define LineColor DQBColor(230, 230, 230, 1.0)

#define DefaultColor DQBColor(243, 243, 246, 1.0)

#define NavigationItemColor DQBColor(102, 102, 102, 1.0)

#define DotColor DQBColor(255, 255, 255, 1)

#define SelectedDotColor DQBColor(252, 227, 15, 1)

#define PriceColor DQBColor(254, 61, 61, 1)


#endif /* DQBColorsCon_h */
